'use strict';

// Declare app level module which depends on views, and components
angular.module('app', [
    'ui.router',
    'ui.bootstrap',
    'ngAnimate',
    'ngLocale',
    'dragularModule',
    'smart-table',
    'angularModalService',
    'ngFileUpload',
    // custom dependencies
    'app.directives',
    'app.services',
    'app.filters',

    'app.view.sidebar',
    'app.view.navigation',
    'app.view.fan-data-problem',

    'app.view-en.sidebar',
    'app.view-en.navigation',
    'app.view-en.fan-data-problem',

])

.config(['$stateProvider', '$urlRouterProvider', function($stateProvider, $urlRouterProvider) {
    //$urlRouterProvider.otherwise('/views/source/csv');
    $urlRouterProvider.otherwise('/views/fan-data-problem/');
}]);
